import service from "../request/qingqiu";

// 获取首页轮播图数据
export function getBanner() {
    return service({
        method: 'get',
        url: '/banner?type=2'
    })
}

// 获取发现好歌单
export function getMusicList() {
    return service({
        method: 'get',
        url: '/personalized?limit=20',
    })
}

// 搜索歌曲
export function getSearchMusic(data) {
    return service({
        method: 'get',
        url: `/search?keywords=${data}`
    })
}

